﻿CREATE TRIGGER BoardMembers_Tracking_Delete
ON [dbo].[BoardMembers] 
AFTER delete
AS 
BEGIN
	UPDATE Sync.BoardMembers_Tracking 
	SET LastUpdatedDate  = getdate(),
		IsDeleted = 1
	FROM Sync.BoardMembers_Tracking s JOIN DELETED i
    ON s.BoardMemberID = i.BoardMemberID
END











